package org.stvd.entities.workflow;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

/**
 * @Title WfLogsAffix
 * @Destribution 流程日志附件
 * @author houzx
 * @date 2020年10月29日
 */
@Entity
@Table(name = "WF_LOGS_AFFIX")
public class WfLogsAffix implements Serializable{

    private static final long serialVersionUID = -8015687132443746675L;
    
    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "customer_gen")
    @TableGenerator(name = "customer_gen", table = "KEYTABLE", pkColumnName = "keyname", valueColumnName = "keyvalue", pkColumnValue = "WfLogs_PK", allocationSize = 1)
    @Column(name = "ID")
    private Long id = null;
    
    @Column(name = "PROC_INST_ID")
    private String procInstId = "";
    
    @Column(name = "LOG_ID")
    private Long logId = null;
    
    @Column(name = "AFFIX_ID")
    private String affixId = "";
    
    @Column(name = "AFFIX_FILENAME")
    private String affixFilename = "";
    
    @Column(name = "AFFIX_LOCAL_URL")
    private String affixLocalUrl = "";
    
    @Column(name = "AFFIX_REMOTE_URL")
    private String affixRemoteUrl = "";
    
    @Column(name = "AFFIX_EXTENSION")
    private String affixExtension = "";
    
    @Column(name = "AFFIX_SIZE")
    private String affixSize = "";

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public String getAffixId() {
        return affixId;
    }

    public void setAffixId(String affixId) {
        this.affixId = affixId;
    }

    public String getAffixFilename() {
        return affixFilename;
    }

    public void setAffixFilename(String affixFilename) {
        this.affixFilename = affixFilename;
    }

    public String getAffixLocalUrl() {
        return affixLocalUrl;
    }

    public void setAffixLocalUrl(String affixLocalUrl) {
        this.affixLocalUrl = affixLocalUrl;
    }

    public String getAffixRemoteUrl() {
        return affixRemoteUrl;
    }

    public void setAffixRemoteUrl(String affixRemoteUrl) {
        this.affixRemoteUrl = affixRemoteUrl;
    }

    public String getAffixExtension() {
        return affixExtension;
    }

    public void setAffixExtension(String affixExtension) {
        this.affixExtension = affixExtension;
    }

    public String getAffixSize() {
        return affixSize;
    }

    public void setAffixSize(String affixSize) {
        this.affixSize = affixSize;
    }
}
